all:cal_server cal_client

cal_server:cal_server.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp -lpthread
cal_client:cal_client.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -f cal_server cal_client